class Sqlinfobif < ActiveRecord::Base
  # The header line lists the attribute names.  ID is quoted to work
  # around an issue with Excel and CSV files that start with "ID".
  def self.csv_header
    "Account,Amount,Description"
  end

  # Emit our attribute values as a line of CSVs
  def to_csv
    account << "," << amount.to_s << "," << description 
  end
end
